package com.bookmall.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author tx
 * @version 1.0
 * @date 2020/3/9 19:58
 */
@Data
@Table(name="book_user")
public class TbBookUser {

    @Id
    @KeySql(useGeneratedKeys = true)
    private Long id;

    private String userName;

    private String number;

    private  Integer sex;

    private Integer age;

    private String password;

    private String heardPic;

    private String address;
}
